﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000076 RID: 118
	internal class FixArrayHeader : IArrayHeaderDecoder
	{
		// Token: 0x06000223 RID: 547 RVA: 0x0000B154 File Offset: 0x00009554
		private FixArrayHeader()
		{
		}

		// Token: 0x06000224 RID: 548 RVA: 0x0000B15C File Offset: 0x0000955C
		public uint Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (uint)(bytes[offset] & 15);
		}

		// Token: 0x040000A0 RID: 160
		internal static readonly IArrayHeaderDecoder Instance = new FixArrayHeader();
	}
}
